Make sure that the image and texture formats match. When image and texture formats do not match, Kanzi Engine converts them when your during the loading of your Kanzi application using the CPU of the target platform. This can significantly increase the amount of time it takes to launch your application.
For example, if a texture is grayscale and uses transparency, in Kanzi Studio set the texture Format property to Grayscale alpha (8-bit) instead of, for example, RGBA (8-bit). A 256 by 256 pixels RGBA texture uses 262 kb (256 * 256 * 4). When you use grayscale with alpha channel, the same texture uses 131 kb (256 * 256 * 2).
When image and texture formats do not match, Kanzi Studio prints this warning to the Log window:
Application WARNING: The format of the texture '<TextureName>' does not match the format of the image '<ImageName>'. To improve the performance of your application, make sure the formats of the image and the texture match.
Make sure that all faces of a cubemap texture use images of the same size and format. When size and format of the images in a cubemap texture do not match, Kanzi Engine converts them during the loading of your Kanzi application using the CPU of the target platform. This can significantly increase the amount of time it takes to launch your application.
For example, use for all faces of the cubemap texture images that are 256 by 256 pixels large and are 8-bit grayscale.
When the size and format of images in a cubemap texture do not match, Kanzi Studio prints these warnings to the Log window:
Application WARNING: The faces of the cubemap texture '<TextureName>' use images of different sizes. To improve the performance of your application, make sure all faces use images of the same size. Application WARNING: The faces of the cubemap texture '<TextureName>' use images with different data formats. To improve the performance of your application, make sure the images of all faces use the same data format.
Setting the correct size of vertex cache
Measuring the performance of your Kanzi application